package com.todod.dto;

import java.util.Date;

public class RoleDto {

	/**
	 * 主鍵
	 */
	private Long id;
	/**
	 * 角色code
	 */
	private String code;
	/**
	 * 
	 * 名称
	 */
	private String name;
	/**
	 * 创建用户id（默认为：1）
	 */
	private Long createUserId;
	/**
	 * 创建用户
	 */
	private String createUserName;
	/**
	 * 创建时间
	 */
	private Long departid;
	private String departname;
	private Long parentId;

	public String getDepartname() {
		return departname;
	}

	public void setDepartname(String departname) {
		this.departname = departname;
	}

	public Long getDepartid() {
		return departid;
	}

	public void setDepartid(Long departid) {
		this.departid = departid;
	}

	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

}
